﻿namespace LowCoding.Common
{
    #region 启用/禁用

    /// <summary>
    /// 启用/禁用
    /// </summary>
    public enum Enabled
    {
        /// <summary>
        /// 启用
        /// </summary>
        [EnumValue("1"), EnumDescription("启用")]
        Yes = 1,

        /// <summary>
        /// 禁用
        /// </summary>
        [EnumValue("0"), EnumDescription("禁用")]
        No = 0
    }

    #endregion 启用/禁用

    #region 是否删除

    /// <summary>
    /// 是否删除
    /// </summary>
    public enum IsDel
    {
        /// <summary>
        /// 未删除
        /// </summary>
        [EnumValue("0", "否")]
        No,

        /// <summary>
        /// 逻辑删除
        /// </summary>
        [EnumValue("1", "是")]
        Yes
    }

    #endregion 是否删除

    #region 是否更新

    /// <summary>
    /// 是否更新
    /// </summary>
    public enum IsUp
    {
        /// <summary>
        /// 否
        /// </summary>
        [EnumValue("0", "否")]
        No,

        /// <summary>
        /// 是
        /// </summary>
        [EnumValue("1", "是")]
        Yes
    }

    #endregion 是否更新

    #region 是否有效

    /// <summary>
    /// 是否有效
    /// </summary>
    public enum Isvalid
    {
        /// <summary>
        /// 无效
        /// </summary>
        [EnumValue("N", "无效")]
        No,

        /// <summary>
        /// 有效
        /// </summary>
        [EnumValue("Y", "有效")]
        Yes
    }

    #endregion 是否有效

    #region 是否已读

    /// <summary>
    /// 是否已读
    /// </summary>
    public enum IsRead
    {
        /// <summary>
        /// 未读
        /// </summary>
        [EnumValue("0", "未读")]
        No,

        /// <summary>
        /// 有效
        /// </summary>
        [EnumValue("1", "已读")]
        Yes
    }

    #endregion 是否已读

    #region 短信发送类型

    /// <summary>
    /// 短信发送类型
    /// </summary>
    public enum MsgSendType
    {
        /// <summary>
        /// 注册
        /// </summary>
        [EnumValue("1", "注册")]
        Register,

        /// <summary>
        /// 找回密码
        /// </summary>
        [EnumValue("2", "找回密码")]
        BackPassword
    }

    #endregion 短信发送类型

    #region 发布状态

    /// <summary>
    /// 发布状态
    /// </summary>
    public enum PushState
    {
        /// <summary>
        /// 未发布
        /// </summary>
        [EnumValue("0", "未发布")]
        UnPush,

        /// <summary>
        /// 已发布
        /// </summary>
        [EnumValue("1", "已发布")]
        Push,

        /// <summary>
        /// 已下架
        /// </summary>
        [EnumValue("2", "已下架")]
        TakeDown
    }

    #endregion 发布状态

    #region 是否处理

    /// <summary>
    /// 是否处理
    /// </summary>
    public enum IsDealWith
    {
        /// <summary>
        /// 否
        /// </summary>
        [EnumValue("0", "否")]
        No,

        /// <summary>
        /// 是
        /// </summary>
        [EnumValue("1", "是")]
        Yes
    }

    #endregion 是否处理

    #region 审核状态
    public enum ApplyStatus
    {
        /// <summary>
        /// 待审核
        /// </summary>
        [EnumValue("0", "待审核")]
        WaitAudit,
        /// <summary>
        /// 审核成功
        /// </summary>
        [EnumValue("1", "审核成功")]
        AuditSuccess,
        /// <summary>
        /// 审核失败
        /// </summary>
        [EnumValue("2", "审核失败")]
        AuditFail
    }
    #endregion

    public enum ISOpenState
    {
        待审批=0,
        通过=1,
        驳回=2
    }
}